package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 抽检任务对象 t_sampling_task
 * 
 * @author wuym
 * @date 2021-07-05
 */
public class TSamplingTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 生产订单号 */
    @Excel(name = "生产订单号")
    private String moCode;

    /** 生产订单行号 */
    @Excel(name = "生产订单行号")
    private String moSortseq;

    /** 规格型号/件号 */
    @Excel(name = "规格型号/件号")
    private String invStd;

    /** 客户产品 */
    @Excel(name = "客户产品")
    private String customerproducts;

    /** 存货编码 */
    @Excel(name = "存货编码")
    private String invCode;

    /** 存货名称 */
    @Excel(name = "存货名称")
    private String invName;

    /** 客户交期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "客户交期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date customerDate;

    /** 操作人工号 */
    @Excel(name = "操作人工号")
    private String opSeq;

    /** 工序名称 */
    @Excel(name = "工序名称")
    private String opName;

    /** 班组名称 */
    @Excel(name = "班组名称")
    private String teamName;

    /** 工单状态 */
    @Excel(name = "工单状态")
    private String workStatus;
    /** 抽检单号 */
    @Excel(name = "抽检单号")
    private String samplingNo;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMoCode(String moCode) 
    {
        this.moCode = moCode;
    }

    public String getMoCode() 
    {
        return moCode;
    }
    public void setMoSortseq(String moSortseq) 
    {
        this.moSortseq = moSortseq;
    }

    public String getMoSortseq() 
    {
        return moSortseq;
    }
    public void setInvStd(String invStd) 
    {
        this.invStd = invStd;
    }

    public String getInvStd() 
    {
        return invStd;
    }
    public void setCustomerproducts(String customerproducts) 
    {
        this.customerproducts = customerproducts;
    }

    public String getCustomerproducts() 
    {
        return customerproducts;
    }
    public void setInvCode(String invCode) 
    {
        this.invCode = invCode;
    }

    public String getInvCode() 
    {
        return invCode;
    }
    public void setInvName(String invName) 
    {
        this.invName = invName;
    }

    public String getInvName() 
    {
        return invName;
    }
    public void setCustomerDate(Date customerDate) 
    {
        this.customerDate = customerDate;
    }

    public Date getCustomerDate() 
    {
        return customerDate;
    }
    public void setOpSeq(String opSeq) 
    {
        this.opSeq = opSeq;
    }

    public String getOpSeq() 
    {
        return opSeq;
    }
    public void setOpName(String opName) 
    {
        this.opName = opName;
    }

    public String getOpName() 
    {
        return opName;
    }
    public void setTeamName(String teamName) 
    {
        this.teamName = teamName;
    }

    public String getTeamName() 
    {
        return teamName;
    }
    public void setWorkStatus(String workStatus) 
    {
        this.workStatus = workStatus;
    }

    public String getWorkStatus() 
    {
        return workStatus;
    }

    public String getSamplingNo() {
        return samplingNo;
    }

    public void setSamplingNo(String samplingNo) {
        this.samplingNo = samplingNo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("moCode", getMoCode())
            .append("moSortseq", getMoSortseq())
            .append("invStd", getInvStd())
            .append("customerproducts", getCustomerproducts())
            .append("invCode", getInvCode())
            .append("invName", getInvName())
            .append("customerDate", getCustomerDate())
            .append("opSeq", getOpSeq())
            .append("opName", getOpName())
            .append("teamName", getTeamName())
            .append("workStatus", getWorkStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
